/*
 * Created on 2004-04-26
 */
package org.opencube.data;

import java.io.Serializable;

/**
 * <p>This class represents the meta data for a single column of the record set.
 * <p>So far, this class proivides only the column name.
 * 
 * @author <a href="mailto:maciek@fingo.pl">FINGO - Maciej Mroczko</a>
 */
public class Column implements Serializable
{
	/* The column name */
	private String name = "";
	
	/**
	 * The default constructor
	 */
	public Column()
	{
		super();
	}
	
	/**
	 * The full constructor
	 * 
	 * @param name the column name
	 */
	public Column( String name )
	{
		this.name = name;
	}
	
	/**
	 * Returns the column name
	 * 
	 * @return The column name
	 */
	public String getName()
	{
		return this.name;
	}

	/**
	 * Sets the colmn name
	 * 
	 * @param name the column name
	 */
	public void setName(String name)
	{
		this.name = name;
	}
}
